import Vue from 'vue'
import Router from 'vue-router'
import home from '@/components/Home.vue'
import product from '@/components/product.vue'
import recruit from '@/components/recruit.vue'
import business from '@/components/business.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      redirect: '/home',
    },
    {
      path: '/home',
      name: 'home',
      component: home,
    },
    {
      path: '/product',
      name: 'product',
      component: product,
    },
    {
      path: '/recruit',
      name: 'recruit',
      component: recruit,
    },
    {
      path: '/business',
      name: 'business',
      component: business,
    }    
  ]
})

